{%if ReadOnly%}
	<span>{% DisplayValue %}</span>
{%else%}
	<select name="{% PropertyFieldName < context %}" class="property-value">
		<?php if ($this->CurrentContext()->Type() == TItemPropertyType::PT_REFERENCE || $this->CurrentContext()->Nullable()): ?>
		<option value="" {%ifnot Value%} selected="true"{%endif%}>{% i < `none` %}</option>
		<?php endif; ?>
		{%assign v Value%}
		{%iterate Selection as code > element%}
			<option value="{% q < code %}"{%if code v%} selected="true"{%endif%}>{% i < element %}</option>
		{%iterate%}
		</select>
{%endif%}
